home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Games / MacGnuGo 0.5e / gnugo.src / initmark.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-08-27  |  256 b   |  16 lines  |  [TEXT/R*ch]

  1. #include "comment.header"
  2.  
  3. extern unsigned char ma[19][19];
  4. extern int MAXX, MAXY;
  5.  
  6. void initmark()
  7. /* initialize all markings with zero */
  8. {
  9. int i, j;
  10.  
  11.   for (i = 0; i < MAXX; i++)
  12.     for (j = 0; j < MAXY; j++)
  13.       ma[i][j] = 0;
  14. }  /* end initmark */
  15.  
  16.